package com.alibaba.cloud.medicine.service;

import com.alibaba.cloud.medicine.dto.MedItemDTO;
import com.alibaba.cloud.medicine.entity.MedItem;

import java.util.List;

public interface MedItemService {

    List<MedItem> getAll();

    void add(MedItemDTO medItemDTO);

    int deductStock(String medCode, Integer medStock);
}
